<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title></title>
  </head>
  <body>
    <div id="result"></div>
  </body>

  <script>
      var arr = new Array();
      arr[0] = "*";
      arr[1] = "*";
      arr[2] = "*";
      arr[3] = "欢";
      arr[4] = "迎";
      arr[5] = "*";
      arr[6] = "*";
      arr[7] = "*";

      function run() {
          var t = arr[0];
          arr.shift();
          arr.push(t);
          document.getElementById("result").innerHTML = arr.join(" ");
      }

      setInterval("run()", 1000);
  </script>
</html>
